package com.hpxx.ylzswl.linster;

import android.view.View;
import android.view.View.OnClickListener;

import com.hpxx.ylzswl.callback.CallBack;


/**
 * 迈虹信息科技.All rights reserved
 * @author LuoXiang
 * @ClassName ${ClassName}
 * @TitleName ${ClassName}
 * @Data 2017/7/4
 */
public class Linster implements OnClickListener{

    private int position;
    private CallBack callback;
    public Linster(CallBack callback , int position){
        this.position = position;
        this.callback = callback;
    }

    @Override
    public void onClick(View view) {
        callback.linster(position);
    }
}
